﻿using Game.Map;
using Game.PathFinder.Internal;

namespace Game.PathFinder
{
    public static class FinderFactory
    {
        public static Finder Create(
            IGameMap gameMap, 
            IMapField startField, 
            IMapField goalField)
        {
            return new AStarFinder(gameMap, startField, goalField);
        }
    }
}
